// 此文件是注册所有自定义内容的总文件，注册的时候就是调用如下的这个 registerSelfMadeNode 函数进行的注册
import {register_step_fun_input} from "./step_fun_input";
import TextShower from "./myReactComponent/TextShower";
import {registerNode} from "@topology/core";
import reactNodes from "../Layout/Plugin/React-nodes";

const registerMyReactComponent = () => {
    // 注册自己写的文本显示控件
    registerNode("textShower", reactNodes(TextShower), null, null, null);
}

export const registerSelfMadeNode = () => {
    console.log("registerSelfMadeNode");
    register_step_fun_input();
    registerMyReactComponent();
}
